package com.dragon.concurrent.demo.readandwrite;

public class UserClient {

    public static void main(String[] args) {
        Gate gate = new Gate();
        User dragon = new User("Dragon", "Dagkhadsf", gate);
        User shangGao = new User("shangGao", "shanghai", gate);
        User beijing = new User("beiGao", "beijing", gate);
        dragon.start();
        shangGao.start();
        beijing.start();
    }
}
